package com.woniu.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.account.model.TPermission;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TPermissionService extends IService<TPermission> {

    List<TPermission> search() throws Exception;

    void insert(Integer roleId, Integer[] resourceId) throws Exception;
}
